(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";

(function () {
    var template = function template(self) {
        return "\n<aux-view class=\"aux-button\">\n    <aux-view class=\"btn\">" + self.innerHTML + "</aux-view>\n    <aux-view class=\"mask\"></aux-view>\n</aux-view>\n        ";
    };

    function handleDisabled(self, newval, oldval) {
        if (newval && newval != null) {
            if (!self.$locked) {
                self.$locked = true;
            }
        } else {
            if (self.$locked) {
                self.$locked = false;
            }
        }
    }

    document.auiDefineElement("aux-button", {
        template: template,
        props: {
            "disabled": {
                afterCreated: function afterCreated(self, newval) {
                    handleDisabled(self, newval);
                },
                observer: function observer(self, oldval, newval) {
                    handleDisabled(self, newval);
                }
            }
        },
        attached: function attached(self) {
            self.$locked = false;
            self.$type = self.auiGetAttribute("form-type", "button");
        }
    });
})();
},{}]},{},[1])